package com.coolgor.axnut.entity.mdmis;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 保单信息实体类
 * @author CoolGor
 *
 */
public class Policy{
	//投保单号	policy_no	保单号
	@JsonProperty("insure_no")
	private String insureNo; 
	//所属项目
	@JsonProperty("project")
	private String project; 
	//保单类型
	@JsonProperty("policy_type")
	private String policyType; 
	//接件日期 来到广西的日期
//	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@JsonProperty("intro_time")
	private Date introTime; 
	//投保日期
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@JsonProperty("insure_time")
	private Date insureTime; 
	//投保人 insurer 保险人
	@JsonProperty("applicant")
	private String applicant; 
	//移动电话
	@JsonProperty("mobilephone")
	private String mobilephone; 
	//固定电话
	@JsonProperty("telephone")
	private String telephone; 
	//所属地区
	@JsonProperty("area")
	private String area; 
	//联系地址
	@JsonProperty("address")
	private String address; 
	//产品计划 insurance product
	@JsonProperty("product")
	private String product; 
	//线上保费
	@JsonProperty("premium")
	private String premium; 
	//TSR姓名
	@JsonProperty("tsr_name")
	private String tsrName; 
	//TSR组别
	@JsonProperty("tsr_group")
	private String tsrGroup; 
	//保单状态
	@JsonProperty("status")
	private Integer status; 
	//保单状态信息
	@JsonProperty("status_info")
	private String statusInfo; 
	//回销时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@JsonProperty("receipt_time")
	private Date receiptTime; 
	//回退日期
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@JsonProperty("return_time")
	private Date returnTime; 
	//撤件日期
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@JsonProperty("cancel_time")
	private Date cancelTime; 
	//退保日期
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	@JsonProperty("surrender_time")
	private Date surrenderTime; 
	//递送次数
	@JsonProperty("deliver_count")
	private Integer deliverCount; 
	//备注说明
	@JsonProperty("remark")
	private String remark;
	public String getInsureNo() {
		return insureNo;
	}
	public void setInsureNo(String insureNo) {
		this.insureNo = insureNo;
	}
	public String getProject() {
		return project;
	}
	public void setProject(String project) {
		this.project = project;
	}
	public String getPolicyType() {
		return policyType;
	}
	public void setPolicyType(String policyType) {
		this.policyType = policyType;
	}
	public Date getIntroTime() {
		return introTime;
	}
	public void setIntroTime(Date introTime) {
		this.introTime = introTime;
	}
	public Date getInsureTime() {
		return insureTime;
	}
	public void setInsureTime(Date insureTime) {
		this.insureTime = insureTime;
	}
	public String getApplicant() {
		return applicant;
	}
	public void setApplicant(String applicant) {
		this.applicant = applicant;
	}
	public String getMobilephone() {
		return mobilephone;
	}
	public void setMobilephone(String mobilephone) {
		this.mobilephone = mobilephone;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getProduct() {
		return product;
	}
	public void setProduct(String product) {
		this.product = product;
	}
	public String getPremium() {
		return premium;
	}
	public void setPremium(String premium) {
		this.premium = premium;
	}
	public String getTsrName() {
		return tsrName;
	}
	public void setTsrName(String tsrName) {
		this.tsrName = tsrName;
	}
	public String getTsrGroup() {
		return tsrGroup;
	}
	public void setTsrGroup(String tsrGroup) {
		this.tsrGroup = tsrGroup;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getStatusInfo() {
		return statusInfo;
	}
	public void setStatusInfo(String statusInfo) {
		this.statusInfo = statusInfo;
	}
	public Date getReceiptTime() {
		return receiptTime;
	}
	public void setReceiptTime(Date receiptTime) {
		this.receiptTime = receiptTime;
	}
	public Date getReturnTime() {
		return returnTime;
	}
	public void setReturnTime(Date returnTime) {
		this.returnTime = returnTime;
	}
	public Date getCancelTime() {
		return cancelTime;
	}
	public void setCancelTime(Date cancelTime) {
		this.cancelTime = cancelTime;
	}
	public Date getSurrenderTime() {
		return surrenderTime;
	}
	public void setSurrenderTime(Date surrenderTime) {
		this.surrenderTime = surrenderTime;
	}
	public Integer getDeliverCount() {
		return deliverCount;
	}
	public void setDeliverCount(Integer deliverCount) {
		this.deliverCount = deliverCount;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Override
	public String toString() {
		return "Policy [insureNo=" + insureNo + ", project=" + project + ", policyType=" + policyType + ", introTime="
				+ introTime + ", insureTime=" + insureTime + ", applicant=" + applicant + ", mobilephone=" + mobilephone
				+ ", telephone=" + telephone + ", area=" + area + ", address=" + address + ", product=" + product
				+ ", premium=" + premium + ", tsrName=" + tsrName + ", tsrGroup=" + tsrGroup + ", status=" + status
				+ ", statusInfo=" + statusInfo + ", receiptTime=" + receiptTime + ", returnTime=" + returnTime
				+ ", cancelTime=" + cancelTime + ", surrenderTime=" + surrenderTime + ", deliverCount=" + deliverCount
				+ ", remark=" + remark + "]";
	}
	
}
